package com.qf.im.entity.vo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

/**
 * 好友申请的处理参数VO
 */
@Data
@Accessors(chain = true)
public class RequestHandlerVo {

    //申请ID
    @NotNull(message = "申请ID不能为空！")
    private Integer reqid;
    //处理状态 0-通过 1-拒绝
    @NotNull(message = "处理状态不能为空！")
    @Range(min = 1, max = 2, message = "状态值不合法")
    private Integer status;
    //被申请者对申请者的备注
    private String beizhu;
}
